package core.models;

import java.util.HashMap;

public class PolicyRule extends Rule {

	public PolicyRule(String table, String chain, String policy) {
		super();
		this.command = "-P";
		this.table = table;
		this.chain = chain;
		this.options = new HashMap<String, String>(1);
		this.setPolicy(policy);
	}
	
	public void setPolicy(String policy) {
		options.put("", policy);
	}

}
